package cn.touna.jss.modules.third.jiguang.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.Mobile;
import cn.touna.risk.api.contraints.facet.First;
import org.hibernate.validator.constraints.NotBlank;

/**
 * \* User: MeiZhongHao
 * \* Date: 2018-05-10
 * \* Time: 17:40
 * \* Description:
 * \
 */
public class JiguangRequestEntity {
    /**
     * Android IMEI
     */
    private String imei;
    /**
     * 手机号
     */
    @Mobile(message = "手机号校验失败", groups = {First.class})
    private String mobile;
    /**
     * 手机号（md5加密，小写）
     */
    private String mobileMd5;
    /**
     * MAC地址
     */
    private String mac;
    /**
     * 国际移动用户标识码
     */
    private String imsi;
    /**
     * 需查询的标签
     */
    private String tag = "all";
    /***
     * 用户姓名
     */
    @NotBlank(message = "名字不能为空", groups = {First.class})
    private String name;
    /**
     * 身份证
     */
    @IdCard(message = "身份证校验失败", groups = {First.class})
    private String idCard;

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobileMd5() {
        return mobileMd5;
    }

    public void setMobileMd5(String mobileMd5) {
        this.mobileMd5 = mobileMd5;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}